<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>文字水波纹</title>
    <style>
        html::after {
            content: "By Ghost.";
            position: absolute;
            bottom: 10px;
            color: cyan;
            right: 10px;
            z-index: 15;
        }

        * {
            padding: 0;
            margin: 0;
        }

        body {
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background: linear-gradient(#09884d, #24ded4);
        }

        h1 {
            font-size: 8rem;
            position: absolute;
        }

        h1:nth-child(1) {
            -webkit-text-stroke: rgb(247, 14, 14) 2px;
            color: transparent;
        }

        h1:nth-child(2) {
            color: #1254e4a6;
            animation: bowen 4s ease-in-out infinite;
            /* clip-path: polygon(42% 66%, 57% 50%, 78% 46%, 100% 50%, 100% 100%, 0 100%, 0 48%, 15% 63%); */

        }



        @keyframes bowen {

            0%,
            100% {
                clip-path: polygon(42% 66%, 57% 50%, 78% 46%, 100% 50%, 100% 100%, 0 100%, 0 48%, 15% 63%);

            }

            50% {
                clip-path: polygon(38% 35%, 56% 59%, 80% 60%, 100% 50%, 100% 100%, 0 100%, 0 49%, 20% 34%);
            }
        }
    </style>
</head>

<body>
    <h1>Ghost</h1>
    <h1>Ghost</h1>
    <!-- <h1>Ghost</h1> -->
</body>

</html>